﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace VIP.Infrastructure.Notice
{
    public class ProgrammerNotice : IProgrammerNotice
    {
        private readonly ILogger<ProgrammerNotice> _logger;
        public ProgrammerNotice(ILogger<ProgrammerNotice> logger)
        {
            _logger = logger;
        }
        public void Notice(string Message)
        {
            //写日志
            _logger.LogError(Message);
            //企业微信提醒

        }
    }
}
